package command.general;

/**
 * @Author：LJ
 * @Description：调用者类
 * @Date: 2017/11/30
 * @Modified By:
 */
public class Invoker {
    private Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void action() {
        command.execute();
    }
}
